package com.meitianhui.convenitenbuy.module.mine.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.mine.model.GroupBean;
import com.meitianhui.convenitenbuy.module.mine.model.GroupDetailBean;
import com.meitianhui.convenitenbuy.module.mine.model.UserUrlBean;

import java.util.ArrayList;

/**
 * Created by amy on 2017/11/22.
 */

public interface MessageGroupContract {
    interface View extends BaseView<MessageGroupContract.Presenter> {

        void showEmpty();

        void showMsgGroup(ArrayList<GroupBean> msgGroupList);

        void getGroupDetailSucc(ArrayList<GroupDetailBean> groupDetailList, String id);

        void getGroupMemberSucc(ArrayList<UserUrlBean> userUrlList, String id);
    }

    interface Presenter extends BasePresenter {

        void getMsgGroup();

        void getChatDetailMsg(String id);

        void getChatMemberList(String id);
    }
}
